package com.jrx.anytxn.accounting.service;

import com.jrx.anytxn.accounting.entity.GaProductSummaryTransition;
import com.jrx.anytxn.transaction.entity.AmAccountMainInfo;
import com.jrx.anytxn.transaction.entity.AmLoanAccountInfo;

import java.util.List;
import java.util.Map;

/**
 * @program: anytxn-cf-accounting
 * @description: 产品汇总操作
 * @author: xiaoyu.jing
 * @date: 2019-12-16 10:17
 **/
public interface IProductSummaryService {

    List<GaProductSummaryTransition> summary(Map<String, GaProductSummaryTransition> productSummeryMap, String batchTaskId) throws Exception;

    GaProductSummaryTransition summary(AmLoanAccountInfo loan, List<AmAccountMainInfo> accountList) throws Exception;
}
